// Definition of the ServerSocket class

#ifndef ServerSocket_class
#define ServerSocket_class


#include <iostream>
using namespace std;
#include "Socket.h"
class ServerSocket : private Socket {
    public:

        ServerSocket ( int port );
        ServerSocket () {};
        virtual ~ServerSocket();

        const ServerSocket& operator << ( const string& ) const;
        const ServerSocket& operator >> ( string& ) const;

        void accept ( ServerSocket& );

    };


#endif
